//
//  CollectionCell.m
//  Music
//
//  Created by dllo on 16/6/13.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CollectionCell.h"

@implementation CollectionCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super  initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.title = [[UILabel  alloc] init];
        [self.contentView  addSubview:self.title];
        
        self.urlid = [[UILabel alloc] init];
        [self.contentView  addSubview:_urlid];
    }
    return self;
}
-(void)layoutSubviews
{
    [super layoutSubviews];
    self.title.frame = CGRectMake(10, 0, 150, 40);
    self.title.font = [UIFont systemFontOfSize:14];
    
    self.urlid.frame = CGRectMake(200, 0, 150, 40);
    self.urlid.font = [UIFont systemFontOfSize:12];
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
